"use strict";
(self["webpackChunktoknow"] = self["webpackChunktoknow"] || []).push([[525],{

/***/ 8733:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _SourceCard_vue_vue_type_template_id_a4fd4abe_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1661);
/* harmony import */ var _SourceCard_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3214);
/* harmony import */ var D_Project_ToKnow_Front_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3744);




;


const __exports__ = /*#__PURE__*/(0,D_Project_ToKnow_Front_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_SourceCard_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, [['render',_SourceCard_vue_vue_type_template_id_a4fd4abe_scoped_true__WEBPACK_IMPORTED_MODULE_0__/* .render */ .s],['__scopeId',"data-v-a4fd4abe"]])

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__exports__);

/***/ }),

/***/ 1194:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });


  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
    props: {
      source: Object
    },
    data() {
      return {
        datas: [
          {
            iconClass: 'icon-eye',
            data: this.source.download_times
          },
          {
            iconClass: 'icon-like',
            data: this.source.like_times
          },
          {
            iconClass: 'icon-comment',
            data: this.source.comment_times
          },
          {
            iconClass: 'icon-collect',
            data: this.source.collect_times
          },
        ]
      }
    },
    computed: {
      fileIcon() {
        return this.$getFileIcon(this.source.source_name);
      }
    },
    methods: {
      gotoResource() {
        this.$open(`/source/${this.source.source_id}`)
      },
      gotoAuthor() {
        this.$open(`/author/${this.source.author_id}/profile/source`)
      }
    },
    mounted () {
    },
  });


/***/ }),

/***/ 3605:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _SourceList_vue_vue_type_template_id_3055d324_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(304);
/* harmony import */ var _SourceList_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5440);
/* harmony import */ var D_Project_ToKnow_Front_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3744);




;


const __exports__ = /*#__PURE__*/(0,D_Project_ToKnow_Front_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_SourceList_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, [['render',_SourceList_vue_vue_type_template_id_3055d324_scoped_true__WEBPACK_IMPORTED_MODULE_0__/* .render */ .s],['__scopeId',"data-v-3055d324"]])

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__exports__);

/***/ }),

/***/ 2097:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _BaseCom_SourceCard_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8733);
/* harmony import */ var _c_utils_LoadingCard2_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7351);




/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  components: {
    SourceCard: _BaseCom_SourceCard_vue__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z,
    LoadingCard: _c_utils_LoadingCard2_vue__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z
  },
  data() {
    return {
      nomore: false
    }
  },
  props: {
    sources: {
      type: Array,
      default: () => ([])
    },
  },
  mounted() {
    this.$scrollLoad({
      loadingComponent: this.$refs.loading.$el,
      callback: entries => {
        let entry = entries[0];
        if(entry.isIntersecting) {
          let bl = this.sources.length;
          this.$emit('fetchSourceAbstracts');
          setTimeout(() => {
            let al = this.sources.length;

            if(al - bl < 10) {
              this.nomore = true;
            } else {
              this.nomore = false;
            }
          }, 1000);
        }
      }
    })
  }
});


/***/ }),

/***/ 7351:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {


// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "Z": () => (/* binding */ LoadingCard2)
});

// EXTERNAL MODULE: ./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
var runtime_core_esm_bundler = __webpack_require__(6252);
// EXTERNAL MODULE: ./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
var runtime_dom_esm_bundler = __webpack_require__(9963);
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[1]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[12].use[0]!./src/components/utils/LoadingCard2.vue?vue&type=template&id=e0bc3620&scoped=true


const _withScopeId = n => (_pushScopeId("data-v-e0bc3620"),n=n(),_popScopeId(),n)
const _hoisted_1 = { class: "loading-card-wrapper" }
const _hoisted_2 = {
  class: "list",
  ref: "list"
}
const _hoisted_3 = /*#__PURE__*/(0,runtime_core_esm_bundler/* createStaticVNode */.uE)("<li data-v-e0bc3620>L</li><li data-v-e0bc3620>O</li><li data-v-e0bc3620>A</li><li data-v-e0bc3620>D</li><li data-v-e0bc3620>I</li><li data-v-e0bc3620>N</li><li data-v-e0bc3620>G</li><li data-v-e0bc3620>.</li><li data-v-e0bc3620>.</li><li data-v-e0bc3620>.</li>", 10)
const _hoisted_13 = [
  _hoisted_3
]
const _hoisted_14 = {
  class: "list1",
  ref: "list1"
}
const _hoisted_15 = /*#__PURE__*/(0,runtime_core_esm_bundler/* createStaticVNode */.uE)("<li data-v-e0bc3620>N</li><li data-v-e0bc3620>O</li><li data-v-e0bc3620>M</li><li data-v-e0bc3620>O</li><li data-v-e0bc3620>R</li><li data-v-e0bc3620>E</li><li data-v-e0bc3620>.</li><li data-v-e0bc3620>.</li><li data-v-e0bc3620>.</li><li data-v-e0bc3620>.</li>", 10)
const _hoisted_25 = [
  _hoisted_15
]

function render(_ctx, _cache, $props, $setup, $data, $options) {
  return ((0,runtime_core_esm_bundler/* openBlock */.wg)(), (0,runtime_core_esm_bundler/* createElementBlock */.iD)("div", _hoisted_1, [
    (0,runtime_core_esm_bundler/* withDirectives */.wy)((0,runtime_core_esm_bundler/* createElementVNode */._)("ul", _hoisted_2, _hoisted_13, 512 /* NEED_PATCH */), [
      [runtime_dom_esm_bundler/* vShow */.F8, !$props.nomore]
    ]),
    (0,runtime_core_esm_bundler/* withDirectives */.wy)((0,runtime_core_esm_bundler/* createElementVNode */._)("ul", _hoisted_14, _hoisted_25, 512 /* NEED_PATCH */), [
      [runtime_dom_esm_bundler/* vShow */.F8, $props.nomore]
    ])
  ]))
}
;// CONCATENATED MODULE: ./src/components/utils/LoadingCard2.vue?vue&type=template&id=e0bc3620&scoped=true

;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[12].use[0]!./src/components/utils/LoadingCard2.vue?vue&type=script&lang=js

  /* harmony default export */ const LoadingCard2vue_type_script_lang_js = ({
    props: {
      nomore: {
        type: Boolean,
        default: () => false
      },
    },
    mounted() {
      let letters = this.$refs.list.children;
      for(let i = 0; i < letters.length; i++) {
        letters[i].style.animationDelay = (i * 0.1) + 's';
      }
    }
  });

;// CONCATENATED MODULE: ./src/components/utils/LoadingCard2.vue?vue&type=script&lang=js
 
// EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js
var exportHelper = __webpack_require__(3744);
;// CONCATENATED MODULE: ./src/components/utils/LoadingCard2.vue




;


const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(LoadingCard2vue_type_script_lang_js, [['render',render],['__scopeId',"data-v-e0bc3620"]])

/* harmony default export */ const LoadingCard2 = (__exports__);

/***/ }),

/***/ 4525:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "default": () => (/* binding */ UserProfileSource)
});

// EXTERNAL MODULE: ./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
var runtime_core_esm_bundler = __webpack_require__(6252);
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[1]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[12].use[0]!./src/pages/index/components/user/profile/UserProfileSource.vue?vue&type=template&id=7fdc57f6&scoped=true


const _withScopeId = n => (_pushScopeId("data-v-7fdc57f6"),n=n(),_popScopeId(),n)
const _hoisted_1 = { class: "user-works-wrapper" }
const _hoisted_2 = { class: "user-works-title" }

function render(_ctx, _cache, $props, $setup, $data, $options) {
  const _component_item_list = (0,runtime_core_esm_bundler/* resolveComponent */.up)("item-list")
  const _component_search_bar = (0,runtime_core_esm_bundler/* resolveComponent */.up)("search-bar")
  const _component_source_list = (0,runtime_core_esm_bundler/* resolveComponent */.up)("source-list")

  return ((0,runtime_core_esm_bundler/* openBlock */.wg)(), (0,runtime_core_esm_bundler/* createElementBlock */.iD)("div", _hoisted_1, [
    (0,runtime_core_esm_bundler/* createElementVNode */._)("div", _hoisted_2, [
      (0,runtime_core_esm_bundler/* createVNode */.Wm)(_component_item_list, {
        items: $data.categoriesCover,
        idx: $options.categoryIdx,
        onChangeIdx: $options.changeCategory,
        class: "category-list"
      }, null, 8 /* PROPS */, ["items", "idx", "onChangeIdx"]),
      (0,runtime_core_esm_bundler/* createVNode */.Wm)(_component_search_bar, { class: "user-works-search" })
    ]),
    (0,runtime_core_esm_bundler/* createVNode */.Wm)(_component_source_list, {
      class: "source-list",
      sources: $options.sources,
      onFetchSourceAbstracts: $options.fetchSourceAbstracts
    }, null, 8 /* PROPS */, ["sources", "onFetchSourceAbstracts"])
  ]))
}
;// CONCATENATED MODULE: ./src/pages/index/components/user/profile/UserProfileSource.vue?vue&type=template&id=7fdc57f6&scoped=true

// EXTERNAL MODULE: ./node_modules/vuex/dist/vuex.esm-bundler.js
var vuex_esm_bundler = __webpack_require__(894);
// EXTERNAL MODULE: ./src/components/utils/SearchBar.vue + 3 modules
var SearchBar = __webpack_require__(2786);
// EXTERNAL MODULE: ./src/components/SourceList.vue
var SourceList = __webpack_require__(3605);
// EXTERNAL MODULE: ./src/components/utils/ItemList.vue
var ItemList = __webpack_require__(8360);
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[12].use[0]!./src/pages/index/components/user/profile/UserProfileSource.vue?vue&type=script&lang=js







/* harmony default export */ const UserProfileSourcevue_type_script_lang_js = ({
  components: {
    SearchBar: SearchBar/* default */.Z,
    SourceList: SourceList/* default */.Z,
    ItemList: ItemList/* default */.Z,
  },
  data() {
    return {
      categories: ['history', 'works', 'collection'],
      categoriesCover: ['浏览历史', '作品', '收藏'],
      searching: false,
    }
  },
  computed: {
    ...(0,vuex_esm_bundler/* mapState */.rn)(['user']),
    works() {
      return this.$store.state.user.works.source
    },
    history() {
      return this.$store.state.user.history.source
    },
    collection() {
      return this.$store.state.user.collection.source
    },
    categoryIdx() {
      return this.categories.indexOf(this.$route.query.q) || 0;
    },
    sources() {
      if(this.categoryIdx === 0) {
        return this.history;
      } else if(this.categoryIdx === 1) {
        return this.works;
      } else {
        return this.collection;
      }
    }
  },
  watch: {
    $route: {
      handler(to) {
        if(to.name === 'userProfileSource' && !to.query.q) {
          this.$router.push({
            path: this.$route.path,
            query: {
              q: 'history'
            }
          })
        }
      },
      immediate: true,
    }
  },
  methods: {
    changeCategory(idx) {
      this.$router.push({
        path: this.$route.path,
        query: {
          q: this.categories[idx]
        }
      })
    },
    fetchSourceAbstracts() {
      switch(this.$route.query.q) {
        case 'history': this.$store.commit('fetchHistorySourceAbstracts'); break;
        case 'works': this.$store.commit('fetchWorksSourceAbstracts'); break;
        case 'collection': this.$store.commit('fetchCollectionSourceAbstracts'); break;
      }
    }
  },
});

;// CONCATENATED MODULE: ./src/pages/index/components/user/profile/UserProfileSource.vue?vue&type=script&lang=js
 
// EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js
var exportHelper = __webpack_require__(3744);
;// CONCATENATED MODULE: ./src/pages/index/components/user/profile/UserProfileSource.vue




;


const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(UserProfileSourcevue_type_script_lang_js, [['render',render],['__scopeId',"data-v-7fdc57f6"]])

/* harmony default export */ const UserProfileSource = (__exports__);

/***/ }),

/***/ 3214:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (/* reexport safe */ _node_modules_vue_loader_dist_index_js_ruleSet_1_rules_12_use_0_SourceCard_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__.Z)
/* harmony export */ });
/* harmony import */ var _node_modules_vue_loader_dist_index_js_ruleSet_1_rules_12_use_0_SourceCard_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1194);
 

/***/ }),

/***/ 5440:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (/* reexport safe */ _node_modules_vue_loader_dist_index_js_ruleSet_1_rules_12_use_0_SourceList_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__.Z)
/* harmony export */ });
/* harmony import */ var _node_modules_vue_loader_dist_index_js_ruleSet_1_rules_12_use_0_SourceList_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2097);
 

/***/ }),

/***/ 1661:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "s": () => (/* reexport safe */ _node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_1_node_modules_vue_loader_dist_index_js_ruleSet_1_rules_12_use_0_SourceCard_vue_vue_type_template_id_a4fd4abe_scoped_true__WEBPACK_IMPORTED_MODULE_0__.s)
/* harmony export */ });
/* harmony import */ var _node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_1_node_modules_vue_loader_dist_index_js_ruleSet_1_rules_12_use_0_SourceCard_vue_vue_type_template_id_a4fd4abe_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6272);


/***/ }),

/***/ 304:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "s": () => (/* reexport safe */ _node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_1_node_modules_vue_loader_dist_index_js_ruleSet_1_rules_12_use_0_SourceList_vue_vue_type_template_id_3055d324_scoped_true__WEBPACK_IMPORTED_MODULE_0__.s)
/* harmony export */ });
/* harmony import */ var _node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_1_node_modules_vue_loader_dist_index_js_ruleSet_1_rules_12_use_0_SourceList_vue_vue_type_template_id_3055d324_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5118);


/***/ }),

/***/ 6272:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "s": () => (/* binding */ render)
/* harmony export */ });
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6252);
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3577);


const _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__/* .pushScopeId */ .dD)("data-v-a4fd4abe"),n=n(),(0,vue__WEBPACK_IMPORTED_MODULE_0__/* .popScopeId */ .Cn)(),n)
const _hoisted_1 = { class: "source-intro" }
const _hoisted_2 = { class: "pub-info" }
const _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("span", { style: {"color":"var(--gray)"} }, "|", -1 /* HOISTED */))
const _hoisted_4 = { class: "source-title" }
const _hoisted_5 = { class: "source-abstract" }
const _hoisted_6 = { class: "datas" }
const _hoisted_7 = ["src"]
const _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("a", { class: "hover" }, null, -1 /* HOISTED */))

function render(_ctx, _cache, $props, $setup, $data, $options) {
  return ((0,vue__WEBPACK_IMPORTED_MODULE_0__/* .openBlock */ .wg)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementBlock */ .iD)("div", {
    class: "source-card-wrapper",
    onClick: _cache[2] || (_cache[2] = (...args) => ($options.gotoResource && $options.gotoResource(...args)))
  }, [
    (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("div", _hoisted_1, [
      (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("div", _hoisted_2, [
        (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("span", {
          onClick: _cache[0] || (_cache[0] = (...args) => ($options.gotoAuthor && $options.gotoAuthor(...args)))
        }, (0,vue__WEBPACK_IMPORTED_MODULE_1__/* .toDisplayString */ .zw)($props.source.author_name), 1 /* TEXT */),
        (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createTextVNode */ .Uk)(),
        _hoisted_3,
        (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createTextVNode */ .Uk)(" " + (0,vue__WEBPACK_IMPORTED_MODULE_1__/* .toDisplayString */ .zw)(new Date(this.source.upload_date).toLocaleString()), 1 /* TEXT */)
      ]),
      (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("h3", _hoisted_4, (0,vue__WEBPACK_IMPORTED_MODULE_1__/* .toDisplayString */ .zw)($props.source.title), 1 /* TEXT */),
      (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("h3", _hoisted_5, (0,vue__WEBPACK_IMPORTED_MODULE_1__/* .toDisplayString */ .zw)($props.source.digest), 1 /* TEXT */),
      (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("ul", _hoisted_6, [
        ((0,vue__WEBPACK_IMPORTED_MODULE_0__/* .openBlock */ .wg)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementBlock */ .iD)(vue__WEBPACK_IMPORTED_MODULE_0__/* .Fragment */ .HY, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .renderList */ .Ko)($data.datas, (data, idx) => {
          return ((0,vue__WEBPACK_IMPORTED_MODULE_0__/* .openBlock */ .wg)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementBlock */ .iD)("li", { key: idx }, [
            (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("i", {
              class: (0,vue__WEBPACK_IMPORTED_MODULE_1__/* .normalizeClass */ .C_)(["iconfont", data.iconClass])
            }, null, 2 /* CLASS */),
            (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_1__/* .toDisplayString */ .zw)(data.data), 1 /* TEXT */)
          ]))
        }), 128 /* KEYED_FRAGMENT */))
      ])
    ]),
    (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("div", {
      class: "source-main",
      onClick: _cache[1] || (_cache[1] = (...args) => ($options.gotoResource && $options.gotoResource(...args)))
    }, [
      (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("img", {
        src: $options.fileIcon,
        alt: "pdf"
      }, null, 8 /* PROPS */, _hoisted_7),
      _hoisted_8
    ])
  ]))
}

/***/ }),

/***/ 5118:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "s": () => (/* binding */ render)
/* harmony export */ });
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6252);


const _withScopeId = n => (_pushScopeId("data-v-3055d324"),n=n(),_popScopeId(),n)
const _hoisted_1 = { class: "source-list-wrapper" }
const _hoisted_2 = { class: "sources" }

function render(_ctx, _cache, $props, $setup, $data, $options) {
  const _component_source_card = (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .resolveComponent */ .up)("source-card")
  const _component_loading_card = (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .resolveComponent */ .up)("loading-card")

  return ((0,vue__WEBPACK_IMPORTED_MODULE_0__/* .openBlock */ .wg)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementBlock */ .iD)("div", _hoisted_1, [
    (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementVNode */ ._)("ul", _hoisted_2, [
      ((0,vue__WEBPACK_IMPORTED_MODULE_0__/* .openBlock */ .wg)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementBlock */ .iD)(vue__WEBPACK_IMPORTED_MODULE_0__/* .Fragment */ .HY, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .renderList */ .Ko)($props.sources, (source, idx) => {
        return ((0,vue__WEBPACK_IMPORTED_MODULE_0__/* .openBlock */ .wg)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createElementBlock */ .iD)("li", { key: idx }, [
          (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createVNode */ .Wm)(_component_source_card, {
            source: source,
            class: "source-card"
          }, null, 8 /* PROPS */, ["source"])
        ]))
      }), 128 /* KEYED_FRAGMENT */))
    ]),
    (0,vue__WEBPACK_IMPORTED_MODULE_0__/* .createVNode */ .Wm)(_component_loading_card, {
      class: "loading-card",
      ref: "loading",
      nomore: $data.nomore
    }, null, 8 /* PROPS */, ["nomore"])
  ]))
}

/***/ })

}]);